Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move install-theme.js to lib directory #2560

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

adamstankiewicz
Copy link
Member

Description

The install-theme.js file does not get included when publishing to NPM as it's not explicitly mentioned in the package.json file's bin property.

Following the convention in frontend-build, the exposed paragon-scripts.js file now imports install-theme.js from a lib directory rather so the install-theme.js file is included when published to NPM.

Deploy Preview

Include a direct link to your changes in this PR's deploy preview here (e.g., a specific component page).

Merge Checklist

  • If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
  • Does your change adhere to the documented style conventions?
  • Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
  • Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
  • Were your changes tested in the example app?
  • Is there adequate test coverage for your changes?
  • Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

  • Verify your changes were released to NPM at the expected version.
  • If you'd like, share your contribution in #show-and-tell.
  • 🎉 🙌 Celebrate! Thanks for your contribution.

@netlify
Copy link

netlify bot commented Aug 18, 2023

Deploy Preview for paragon-openedx ready!

Name Link
🔨 Latest commit 005e821
🔍 Latest deploy log https://app.netlify.com/sites/paragon-openedx/deploys/64df678f968e980008646e66
😎 Deploy Preview https://deploy-preview-2560--paragon-openedx.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@adamstankiewicz adamstankiewicz merged commit 4ec284a into master Aug 18, 2023
7 checks passed
@adamstankiewicz adamstankiewicz deleted the ags/paragon-cli-install-theme-consumer branch August 18, 2023 12:47
@edx-semantic-release
Copy link
Contributor

🎉 This PR is included in version 21.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants